package com.tubang.logistics.vo;

import com.tubang.common.vo.BaseVo;

/**
 * <p>
 * 车辆表
 * </p>
 *
 * @author wsl
 * @since 2017-12-13
 */
@SuppressWarnings("serial")
public class TruckVo extends BaseVo {

    /**
     * 车主编号
     */
	private String userId;
	
	/**
	 * 司机姓名
	 */
	private String realName;
	/**
	 * 联系电话
	 */
	private String mobile;
	
	/**
	 * 公司或者平台id
	 */
	private String companyId;
    /**
     * 车牌号
     */
	private String truckNum;
    /**
     * 车辆类型
     *  平板-20001
     *  高栏-20002
     *  厢式-20003
     *  高低板-20004
     *  冷藏车-20005
     *  危险品-20006
     */
	private String truckType;
    /**
     * 车辆类型描述
     * 车辆类型
     *  平板-20001
     *  高栏-20002
     *  厢式-20003
     *  高低板-20004
     *  冷藏车-20005
     *  危险品-20006
     */
	private String truckDesc;
    /**
     * 车辆尺寸-单位cm
     * 620-6.2米
     * 680-6.8米
     * 700-7.0米
     * 860-8.6米
     * 960-9.6米
     * 1250-12.5米
     * 1300-13米
     * 1350-13.5米
     * 1600-16米
     * 1750-17.5米
     */
	private String truckLength;

	/**
     * 20011审核通过
     * 20012审核驳回
     * 20013待审核
     */
	private String truckStatus;

	/**
	 * 认证失败的原因 只有truck_status为0,reason才有效
	 */
	private String reason;
	
	/**
	 * 驾驶证
	 */
	private String driveLicense;
	/**
	 * 营运证
	 */
	private String operationCertificate;

	public String getUserId() {
		return userId;
	}

	public TruckVo setUserId(String userId) {
		this.userId = userId;
		return this;
	}
	
	public String getRealName() {
		return realName;
	}

	public String getMobile() {
		return mobile;
	}

	public TruckVo setRealName(String realName) {
		this.realName = realName;
		return this;
	}

	public TruckVo setMobile(String mobile) {
		this.mobile = mobile;
		return this;
	}

	public String getCompanyId() {
		return companyId;
	}
	
	public TruckVo setCompanyId(String companyId) {
		this.companyId = companyId;
		return this;
	}

	public String getTruckNum() {
		return truckNum;
	}

	public TruckVo setTruckNum(String truckNum) {
		this.truckNum = truckNum;
		return this;
	}

	public String getTruckType() {
		return truckType;
	}

	public TruckVo setTruckType(String truckType) {
		this.truckType = truckType;
		return this;
	}

	public String getTruckDesc() {
		return truckDesc;
	}

	public TruckVo setTruckDesc(String truckDesc) {
		this.truckDesc = truckDesc;
		return this;
	}

	public String getTruckLength() {
		return truckLength;
	}

	public TruckVo setTruckLength(String truckLength) {
		this.truckLength = truckLength;
		return this;
	}

	public String getTruckStatus() {
		return truckStatus;
	}

	public TruckVo setTruckStatus(String truckStatus) {
		this.truckStatus = truckStatus;
		return this;
	}
	
	public String getReason() {
		return reason;
	}

	public TruckVo setReason(String reason) {
		this.reason = reason;
		return this;
	}
	
	public String getDriveLicense() {
		return driveLicense;
	}

	public void setDriveLicense(String driveLicense) {
		this.driveLicense = driveLicense;
	}

	public String getOperationCertificate() {
		return operationCertificate;
	}

	public void setOperationCertificate(String operationCertificate) {
		this.operationCertificate = operationCertificate;
	}

	@Override
	public String toString() {
		StringBuilder stringBuilder = new StringBuilder();
		stringBuilder.append("Truck{");
		stringBuilder.append("userId=");
		stringBuilder.append(userId);
		stringBuilder.append("realName=");
		stringBuilder.append(realName);
		stringBuilder.append("mobile=");
		stringBuilder.append(mobile);
		stringBuilder.append("companyId=");
		stringBuilder.append(companyId);
		stringBuilder.append(", truckNum=");
		stringBuilder.append(truckNum);
		stringBuilder.append(", truckType=");
		stringBuilder.append(truckType);
		stringBuilder.append(", truckDesc=");
		stringBuilder.append(truckDesc);
		stringBuilder.append(", truckLength=");
		stringBuilder.append(truckLength);
		stringBuilder.append(", truckStatus=");
		stringBuilder.append(truckStatus);
		stringBuilder.append(", reason=");
		stringBuilder.append(reason);
		stringBuilder.append("}");
		return stringBuilder.toString();
	}
}
